<%-- 
    Document   : adminuser_content
    Created on : Jan 7, 2012, 9:00:47 PM
    Author     : Turtle
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="jstl" %>
<!DOCTYPE html>
<div class="sub-video">
    <p class="adhome-title">Welcome to Users Manager Site</p>
    <p class="adhome-intro">In this site, you can manage users</p>	
</div>
<div class="user-list">
    <jstl:forEach var="user" items="${userList}">                        
        <div class="instant">
            <div class="spanright">${user.getUsername()}</div>
            <div class="spanleft">${user.getEmail()}</div>
            <jstl:if test="${user.getUsername()!='admin'}">
                <div><a class="spanleft" href="admin_user?action=delete&username=${user.getUsername()}">Delete</a></div>
            </jstl:if>
        </div>
        <div class="clr"></div>
        <hr/>
    </jstl:forEach>
</div>
